package com.seckill.rabbitmq;

import com.seckill.domain.MiaoshaUser;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author yangjunwei
 * @date 2021/11/16 4:30 下午
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MiaoshaMessage {

    /**
     * 秒杀用户
     */
    private MiaoshaUser user;
    /**
     * 商品Id
     */
    private long goodsId;
    /**
     * 订单类型
     */
    private Integer orderType;


}
